Repository navigation
Adopt the WO19 G6 rulings: escapes decode, keyword table, fn directives - #140
Merged
Merged
Conversation
Item 4: both \uXXXX and \UXXXX escape spellings decode in the string assembly (the former hand-parser-parity deviation carried gki-bel's sub "\U040E" "Ŭ" as the literal text "U040E" and the row never fired; ruby/rs always decoded). Item 1: the grammar-source sync carries the six fn-literal keyword table (sha pin 169596431e066ec762b69ceb5a21383154e97ed7f3630888032e0b7122a1750e). Item 3: reverse/strip/swapcase join the builtin function registry — they execute as stage directives and inline to-funcalls with the plain String semantics of ruby Stdlib::Functions. Item 2: a fn literal in FROM position raises MapLogicError at compile (the former alias-fallback said "Alias downcase not found"); any_character keeps its alias path (it is the primitive spelled as a function atom). Item 5: the outside-form block-rule when extension is retired — canonical rs binds the guard inside the braces and ruby parses the inside form only; the inside form is pinned and the outside form rejects.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
\uXXXXand\UXXXX(the former hand-parser-parity deviation rendered gki-bel'ssub "\U040E" "Ŭ"from-value as the literal text "U040E" and the row never fired; ruby/rs always decoded). Regression test parses the gki-bel shape and asserts the decodedЎfrom.keywordrule (sha pin1695964…, byte-identical to the ruby.parg).reverse/strip/swapcasejoin the builtin function registry — stage directives and inline to-funcalls execute with rubyString#reverse/String#strip/String#swapcasesemantics (strip uses ruby's ASCII whitespace + NUL set, not Unicode whitespace).MapLogicErrorat compile — the former alias-fallback degraded to the misleading "Alias downcase not found".any_characterkeeps its alias path (it is the primitive spelled as a function atom; the kp-kor golden rows exercise it in constraint positions).sub { from "a" to "x" } when kur) is retired — canonical rs binds the guard inside the braces, ruby parses the inside form only, corpus-proven dormant. The inside form is pinned; the outside form now rejects.Gates
npx vitest run --no-file-parallelism: 394 passed, 0 failed, 4 skipped (incl. the golden additivity replay and the parity suite)parse-parity.mjswith this checkout): 412/435 structurally identical, the 3 known divergence kinds — zero delta vs baseline